package com.yida.gwj.common.domain;

import com.yida.common.core.annotation.Excel;
import com.yida.common.core.web.domain.BaseEntity;
import com.yida.common.core.xss.Xss;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 业务小区信息（基础数据管理模块）对象 basis_business_community
 *
 * @author lqq
 * @date 2022-11-15
 */
public class GwjBaseBusinessCommunity extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 业务小区ID
	 */
	@Excel(name = "业务小区ID")
	private Long bizCommunityId;

	/**
	 * 小区ID
	 */
	@Excel(name = "小区ID")
	private Long communityId;

	/**
	 * 业务ID
	 */
	@Excel(name = "业务ID")
	private Long bizId;

	/**
	 * 小区名称
	 */
	@Excel(name = "小区名称")
	@NotBlank(message = "小区名称不能为空")
	private String communityName;

	/**
	 * 所属区县
	 */
	@Excel(name = "所属区县")
	@NotNull(message = "所属区县不能为空")
	private Long areaId;

	/**
	 * 所属街道
	 */
	@Excel(name = "所属街道")
	private Long streetId;

	/**
	 * 开发企业（原kaifa_id）
	 */
	@Excel(name = "开发企业")
	private Long companyId;

	/**
	 * 所属业委（原yewei_id）
	 */
	@Excel(name = "所属业委")
	private Long committeeId;

	/**
	 * 所属物业（原wuye_id）
	 */
	@Excel(name = "所属物业")
	private Long estateId;

	/**
	 * 期房面积
	 */
	@Excel(name = "期房面积")
	private BigDecimal periodSize;

	/**
	 * 建筑总面积
	 */
	@Excel(name = "建筑总面积")
	private BigDecimal totalSize;

	/**
	 * 业主总户数
	 */
	@Excel(name = "业主总户数")
	private Integer totalOwner;

	/**
	 * 其中住宅数
	 */
	@Excel(name = "其中住宅数")
	private Integer residence;

	/**
	 * 其中非住宅数
	 */
	@Excel(name = "其中非住宅数")
	private Integer nonResidence;

	/**
	 * 开发企业
	 */
	@Excel(name = "开发企业")
	private String companyName;

	/**
	 * 坐落
	 */
	@Excel(name = "坐落")
	private String communityLocation;

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public BigDecimal getPeriodSize() {
		return periodSize;
	}

	public void setPeriodSize(BigDecimal periodSize) {
		this.periodSize = periodSize;
	}

	public BigDecimal getTotalSize() {
		return totalSize;
	}

	public void setTotalSize(BigDecimal totalSize) {
		this.totalSize = totalSize;
	}

	public Integer getTotalOwner() {
		return totalOwner;
	}

	public void setTotalOwner(Integer totalOwner) {
		this.totalOwner = totalOwner;
	}

	public Integer getResidence() {
		return residence;
	}

	public void setResidence(Integer residence) {
		this.residence = residence;
	}

	public Integer getNonResidence() {
		return nonResidence;
	}

	public void setNonResidence(Integer nonResidence) {
		this.nonResidence = nonResidence;
	}

	public Long getAreaId() {
		return areaId;
	}

	public void setAreaId(Long areaId) {
		this.areaId = areaId;
	}

	public Long getStreetId() {
		return streetId;
	}

	public void setStreetId(Long streetId) {
		this.streetId = streetId;
	}

	public Long getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}

	public Long getCommitteeId() {
		return committeeId;
	}

	public void setCommitteeId(Long committeeId) {
		this.committeeId = committeeId;
	}

	public Long getEstateId() {
		return estateId;
	}

	public void setEstateId(Long estateId) {
		this.estateId = estateId;
	}

	public Long getBizCommunityId() {
		return bizCommunityId;
	}

	public void setBizCommunityId(Long bizCommunityId) {
		this.bizCommunityId = bizCommunityId;
	}

	public Long getBizId() {
		return bizId;
	}

	public void setBizId(Long bizId) {
		this.bizId = bizId;
	}

	public void setCommunityId(Long communityId) {
		this.communityId = communityId;
	}

	public Long getCommunityId() {
		return communityId;
	}

	@Xss(message = "小区名称不能包含脚本字符")
	public String getCommunityName() {
		return communityName;
	}

	public void setCommunityName(String communityName) {
		this.communityName = communityName;
	}

	@Xss(message = "小区坐落不能包含脚本字符")
	public String getCommunityLocation() {
		return communityLocation;
	}

	public void setCommunityLocation(String communityLocation) {
		this.communityLocation = communityLocation;
	}
}
